package com.sfddata.musicpillow.user.entity;

public class Curve {
    private double x;
    private double y;

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public Curve (double x, double y){
        this.setY(y);
        this.setX(x);
    }
    @Override
    public String toString() {
        return "Curve{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}
